package com.augmentum.oes.service;

import com.augmentum.oes.exception.ParameterException;
import com.augmentum.oes.exception.ServiceException;
import com.augmentum.oes.model.User;

public interface UserService {

    User login(String userName, String password) throws ParameterException, ServiceException;

    User getById(int id) throws ParameterException;

    void changePassword(User user) throws ParameterException;

    void update(User user) throws ParameterException;

}